//
//  LSZSpecialPackaging.h
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/8/27.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LSZSpecialPackaging : NSObject
typedef void (^strPinglLun)(UIView *,UITextView *,UIButton *);

#pragma mark - 获取自适应高度
+(CGFloat)getHeightOfText :(CGFloat)width height:(CGFloat)height font:(CGFloat)font :(NSString * )text;
#pragma mark - 获取自适应宽度
+(CGFloat)getsTheAdaptiveWidth:(UILabel *)label sizeMaxWidth:(CGFloat)sizeMaxWidth;
//+(CGFloat)caculateWidthOfText :(CGFloat)width height:(CGFloat)height font:(CGFloat)font :(NSString * )text;

#pragma mark - 下面的评论框
+(void)initWithAppraise:(UIView *)view :(strPinglLun)block;//1有分享  其他没分享
#pragma mark - 转json
+(NSArray *)stringToJSON:(NSString *)jsonStr;
@end
